Flatten PDFs
Setting Flatten to true on the PrintSettings object merges all interactive form fields, annotations, and layered content into the printed output. This guarantees that filled-in values, digital signatures, and embedded images appear on the physical page exactly as they do on screen.
Flattening is especially useful when printing completed forms or documents that contain overlapping layers. Without it, some printers may skip interactive elements or render them incorrectly. The flattening operation happens in memory before the data reaches the print spooler, so the original PDF file remains unchanged.

